package com.twu.biblioteca;

/**
 * Created by larahy on 24/04/2014.
 */
public class Rentable {
    String title;
    String director;
    Integer year;
    Integer rating = 0;
    Boolean available = true;

    public Rentable(String aTitle) {
        title = aTitle;
    }

    public Rentable() {
        title = null;
    }

    void setTitle(String aTitle) {title = aTitle;}

    String getTitle() { return title; }

    void setRating(int aRating) { rating = aRating; }

    Integer getRating() {return rating; }

    void setYear(int aYear) {year = aYear;}

    Integer getYear() {return year;}

    void setAvailable(boolean yesOrNo) {
        available = yesOrNo;
    }

}
